package com.rongxue.pojo;

import java.math.BigDecimal;
import java.util.Date;

//用户加息券表
public class SUserInterestCoupon {
    private Integer id;//券id

    private Integer couponId;

    private String title;

    private String subtitle;

    private Integer userId;//用户id

    private String rechargeNo;//充值编码

    private BigDecimal interestRate;//金额

    private Integer minDue;//最小投资期限

    private BigDecimal minInvest;//最小投资金额

    private Integer projectId;//产品id

    private Date expireTime;

    private Integer status;

    private Integer scope;

    private Date addTime;

    private Integer addUserId;

    private Date modifyTime;

    private Integer modifyUserId;

    private Byte isDelete;

    private Byte isRead;

    private Integer createTime;

    private String source;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle == null ? null : subtitle.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getRechargeNo() {
        return rechargeNo;
    }

    public void setRechargeNo(String rechargeNo) {
        this.rechargeNo = rechargeNo == null ? null : rechargeNo.trim();
    }

    public BigDecimal getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(BigDecimal interestRate) {
        this.interestRate = interestRate;
    }

    public Integer getMinDue() {
        return minDue;
    }

    public void setMinDue(Integer minDue) {
        this.minDue = minDue;
    }

    public BigDecimal getMinInvest() {
        return minInvest;
    }

    public void setMinInvest(BigDecimal minInvest) {
        this.minInvest = minInvest;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getScope() {
        return scope;
    }

    public void setScope(Integer scope) {
        this.scope = scope;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getAddUserId() {
        return addUserId;
    }

    public void setAddUserId(Integer addUserId) {
        this.addUserId = addUserId;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Integer getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(Integer modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public Byte getIsRead() {
        return isRead;
    }

    public void setIsRead(Byte isRead) {
        this.isRead = isRead;
    }

    public Integer getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source == null ? null : source.trim();
    }


    @Override
    public String toString() {
        return "SUserInterestCoupon{" +
                "id=" + id +
                ", couponId=" + couponId +
                ", title='" + title + '\'' +
                ", subtitle='" + subtitle + '\'' +
                ", userId=" + userId +
                ", rechargeNo='" + rechargeNo + '\'' +
                ", interestRate=" + interestRate +
                ", minDue=" + minDue +
                ", minInvest=" + minInvest +
                ", projectId=" + projectId +
                ", expireTime=" + expireTime +
                ", status=" + status +
                ", scope=" + scope +
                ", addTime=" + addTime +
                ", addUserId=" + addUserId +
                ", modifyTime=" + modifyTime +
                ", modifyUserId=" + modifyUserId +
                ", isDelete=" + isDelete +
                ", isRead=" + isRead +
                ", createTime=" + createTime +
                ", source='" + source + '\'' +
                '}';
    }
}